package com.nytd.demo.entity;

public enum ResultCode {
    SUCCESS(200),
    FAIL(-1 ),
    UNLOGIN(0);

    private Integer code;
//    private String name;

    ResultCode(Integer code) {
        this.code = code;
//        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }


}
